package com.atguigu.java.ai.langchain4j;

import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class ToolsTest {

    @Autowired
    private SeparateChatAssistant separateChatAssistant;

    @Test
    public void testCalculatorTools(){
        String chat1 = separateChatAssistant.chat1(1L, "1+2等于几，475695037565的平方根是多少？");

        System.out.println(chat1);
    }

}




